golang.org/x/mod/modfile.input.Error (method)

11 uses

	golang.org/x/mod/modfile (current package)
		read.go#L392: func (in *input) Error(s string) {
		read.go#L430: 		in.Error("internal lexer error: readRune at EOF")
		read.go#L551: 			in.Error("mod files must use // comments (not /* */ comments)")
		read.go#L580: 				in.Error("unexpected EOF in string")
		read.go#L583: 				in.Error("unexpected newline in string")
		read.go#L592: 					in.Error("unexpected EOF in string")
		read.go#L603: 		in.Error(fmt.Sprintf("unexpected input character %#q", rune(c)))
		read.go#L612: 			in.Error("mod files must use // comments (not /* */ comments)")
		read.go#L875: 			in.Error(fmt.Sprintf("syntax error (unterminated block started at %s:%d:%d)", in.filename, x.Start.Line, x.Start.LineRune))
		read.go#L886: 				in.Error("syntax error (expected newline after closing paren)")
		read.go#L902: 		in.Error("internal parse error: parseLine at end of line")